package com.jarvis.zeng.design.pattern.decorator.drawshape;

/**
 * @author ZengJun
 */
public abstract class AbstractShapeDecorator implements Shape {
   protected Shape decoratedShape;
 
   public AbstractShapeDecorator(Shape decoratedShape){
      this.decoratedShape = decoratedShape;
   }
 
   @Override
   public void draw(){
      decoratedShape.draw();
   }  
}